package com.bgi.uims.pub.utils;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
/**
 * 
 * ClassName: Logger <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason: TODO ADD REASON(可选). <br/>
 * date: 2014-10-20 下午02:05:37 <br/>
 *
 * @author fukun
 * @version 
 * @since JDK 1.7
 */
public class Logger {
	static final String errorLoggerName = "myLogger.errorLogger";
	static final String auditLoggerName = "myLogger.auditLogger";
	static final String traceLoggerName = "myLogger.traceLogger";
	protected static final Log errorLogger = LogFactory
			.getLog(errorLoggerName);
	protected static final Log auditLogger = LogFactory
			.getLog(auditLoggerName);
	protected static final Log traceLogger = LogFactory
			.getLog(traceLoggerName);

	public static Log getAuditLogger() {
		return auditLogger;
	}

	public static Log getErrorLogger() {
		return errorLogger;
	}

	public static Log getTraceLogger() {
		return traceLogger;
	}
}
